package com.example.demo.lab2.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: ljt
 * @Date: 2023/03/25/13:58
 * @Description:
 */
@Data
public class EmpWithDep {
    private BigDecimal employeeId;
    private String firstName;
    private String lastName;
    private String email;
    private String phoneNumber;
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date hireDate;
    private String jobId;
    private BigDecimal salary;
    private BigDecimal commissionPct;
    private BigDecimal managerId;
    private BigDecimal departmentId;
    private String departmentName;
    private BigDecimal locationId;
}
